package com.inspection.service;

import com.inspection.entity.InspectionDepartmentDO;
import com.inspection.model.dto.InspectionDepartmentDTO;
import com.inspection.model.dto.InspectionDepartmentQueryDTO;

import java.util.List;

/**
 * @author zhaoqi
 * @since 2020-11-10
 */
public interface InspectionDepartmentService {


    List<InspectionDepartmentDO> queryDepartment(InspectionDepartmentQueryDTO query);

    void saveDepartment(InspectionDepartmentDTO save);

    void delDepartment(InspectionDepartmentDTO del);

    InspectionDepartmentDO getDepartment(InspectionDepartmentQueryDTO query);

    void updateDepartment(InspectionDepartmentDTO update);
}
